﻿using Microsoft.EntityFrameworkCore;

namespace EntityModel
{
    public class EGSDbContext:DbContext
    {
        public readonly IEnumerable<object> ExcuseController;

        public EGSDbContext(DbContextOptions<EGSDbContext> opts) : base(opts) { }


        public DbSet<EGS_Account> Account{ get; set; }
        public DbSet<EGS_User> User { get; set; }
        public DbSet<EGS_LoginInfo> LoginInfo { get; set; }
        public DbSet<EGS_Payfees> Payfees { get; set; }
        public DbSet<EGS_NewStudent> NewStudent { get; set; }
        public DbSet<Teachers> Teachers { get; set; }
        public DbSet<EGS_Excuse> Excuses { get; set; }
        public DbSet<EGS_Machine_room> Machine_Rooms { get; set; }
        public DbSet<EGS_School> School { get; set; }
        public DbSet<EGS_SchoolForum> SchoolForum { get; set; }
        public DbSet<EGS_Department> Department { get; set; }
        public DbSet<EGS_Clockin> Clockins { get; set; }

    }
}
 